We need to keep this time, or we may end up with
negative frame intervals.
/* the ::after-paint phase doesn't get repeated on freeze/thaw,
*/
priv->phase = GDK_FRAME_CLOCK_PHASE_NONE;
-
+ }
#ifdef G_ENABLE_DEBUG
- if (GDK_DEBUG_CHECK (FRAMES) || gdk_profiler_is_running ())
- timings->frame_end_time = g_get_monotonic_time ();
+ if (GDK_DEBUG_CHECK (FRAMES) || gdk_profiler_is_running ())
+ timings->frame_end_time = g_get_monotonic_time ();
#endif /* G_ENABLE_DEBUG */
- }
G_GNUC_FALLTHROUGH;
case GDK_FRAME_CLOCK_PHASE_RESUME_EVENTS: